#!/bin/bash

read -p "please input user name:" u_name
read -sp "please input password:" u_pass
echo

echo "user name: $u_name"
echo "password: $u_pass"

echo "password length: ${#u_pass}"
if (( ${#u_pass} < 6 )); then
	echo "password length less than 6, too weak"
fi
